<?php
namespace app\index\controller;
use think\Controller;
use think\Loader;
class  Login extends  Controller{

    //下载文书
    public function docDownload(){
        $writ_id = input('writ_id');
        $invoking       = Loader::model('Login','service');
        $invoking->docDownloadApi($writ_id);
    }


    //留言
    public function solutionPresent(){
        try{
            $input = input();
            $invoking       = Loader::model('Other','service');
            $response       = $invoking->solutionPresentApi($input);
        } catch (\Exception $e) {
            $response      = messageInfo ( '101', '服务器错误！' );
        }
        return json($response);
    }

}
